<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/7/22
  Time: 15:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>主页面</title>
</head>
<body>
欢迎你${username}
<table>
        <tr>
            <td>编号</td>
            <td>用户名</td>
            <td>生日</td>
            <td>入职日期</td>
            <td>工作职位</td>
            <td>简介</td>
            <td>操作</td>
        </tr>

        <c:forEach items="${employeeList}" var="e">
            <tr>
                <td>${e.id}</td>
                <td>${e.username}</td>
                <td>${e.birthday}</td>
                <td>${e.entry_date}</td>
                <td>${e.job}</td>
                <td>${e.resume}</td>
                <td><a href="/deleteEmployee?id=${e.id}">删除</a>||<a href="/findEmployee?id=${e.id}">修改</a></td>
            </tr>
        </c:forEach>

</table>
</body>
</html>
